Skip to main content
Version: 1.0.2

Remove Signers

The Remove Signers API is used to remove signers from a wallet account based on the provided Account ID. This API creates a ticket with an unsigned envelope by utilizing the updated legal representative details. This API simplifies the process of managing signers for a wallet account, allowing for easy removal of signers based on the specified action type.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

ID

Mandatory

String

Represents the unique identifier of the wallet account to which signers will be removed.

Ex: "1103001"

legalRep

Mandatory

Object

ID

Mandatory

String

Unique identifier for the legal representative.

Ex: "994003"

actionType

Mandatory

String

Indicates the type of action to be performed.

Ex: "REMOVE"


curl --location '{{url}}/rpc/WalletService/UpdateWalletAccountSigners' \
--header 'DiviceID: 8020' \
--header 'Signature: keyId=8020,algorithm=ecdsa-sha256,signature=MEUCIQCNi1vjPf/HpI9R2DXnc0Zt1s6YmWyA4H1x813lJ+tuDgIgB+lrc+iCMyTUGiraG9kGKNDXYiz7RfBBtifr5wUQs54=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tFbWFpbH19Ont7UGFzc3dvcmR9fQ==' \
--data '{"ID":"1103001","legalRep":{"ID":"994003"},"actionType":"REMOVE"}'

Body


{
"ID": "1103001",
"legalRep": {
"ID": "994003"
},
"actionType": "REMOVE"
}

Response: 200

Response Parameters
ParameterDescription

ID

String

Represents the unique identifier of the wallet account to which signers will be removed.

Ex: "1103001"

customerID

String

Refers to the unique identifier of the customer associated with the wallet account.

Ex: "100000000041001"

legalRep

Object

ID

String

Unique identifier for the legal representative.

Ex: "994003"

name

String

Specifies the name of the legal representative.

Ex: "Tejaswi"

createdDate

String

Represents the date and time of the representative's creation.

Ex: "0001-01-01T00:00:00Z"

updatedDate

String

Indicates the date and time of the last update made to the representative's information.

Ex: "0001-01-01T00:00:00Z"

contact

Object

email

String

Represents the email address of the representative.

Ex: "chennareddy.s+2@netxd.com"

phoneNumber

String

Specifies the phone number of the representative.

Ex: "9087493944"

weightAge

Number

Specifies the weight or importance of the legal representative in the signer setup.

Ex: 1

keyStorage

String

Indicates the storage method for the representative's key.

Ex: "ON_DEVICE"

keyStatus

String

Represents the status of the representative's key generation.

Ex: "PENDING_KEY_GENERATION"

actionType

String

Indicates the type of action to be performed.

Ex: "REMOVE"


{
"ID": "1103001",
"customerID": "100000000041001",
"legalRep": {
"ID": "994003",
"name": "Tejaswi",
"createdDate": "0001-01-01T00:00:00Z",
"updatedDate": "0001-01-01T00:00:00Z",
"contact": {
"email": "chennareddy.s+2@netxd.com",
"phoneNumber": "9087493944"
},
"weightAge": 1,
"keyStorage": "ON_DEVICE",
"keyStatus": "PENDING_KEY_GENERATION"
},
"actionType": "REMOVE"
}